<%@ page contentType="text/html; charset=UTF-8" language="java" %>
<%@ include file="/taglibs.jsp" %>
<head>
</head>
<body>
<ul>
    <li>
    	Create a new person here!
    </li>
</ul>

<s:form action="person!create" validate="true" autocomplete="off">

	<s:label key="username" for="person_firstName"/>
    <s:textfield id="person_firstName" label="First Name" name="person.firstName"/>
    
    <s:label name="Last Name" key="dd"/>
    <s:textfield label="Last Name" name="person.lastName"/>
    
    <s:label name="Birthday" key="person.birthday"/>
    <s:textfield id="birthday" label="birthday" name="person.birthday"/>
    
    <s:submit value="Create person"/>
</s:form>
<script type="text/javascript">
$(document).ready(function(){
	$('#birthday').datepicker({dateFormat:'yy-mm-dd',changeYear:true,changeMonth:true});
})
</script>	
</body>
